package homework.Exercise2And3;

class Counter {
    protected int value=0;

    public Counter(int value) {
        this.value = value;
    }

    public Counter() {
    }

    public int getValue() {
        return value;
    }

    public void incrementer(){
        value++;
    }
    public void decrementer(){
        value--;
    }
}
